<?php


$bgcolor1 = "FFFFFF";
$bgcolor2 = "FFFFFF";
$bgcolor3 = "FFFFFF";
$bgcolor4 = "EEEEEE";
$bgcolor5 = "cccccc";
$textcolor1 = "#000000";
$textcolor2 = "#000000";


function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">
  <tr>
    <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
        <tr>
          <td class=\"bordermavi\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
              <tr>
                <td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" bgcolor=\"#FFFFFF\">
                    <tr>
                      <td>";
}

function CloseTable() {
    echo "</td>
                    </tr>
            </table></td>
              </tr>
      </table></td>
        </tr>
      </table>
</td>
  </tr>
</table>";
}

function OpenTable2() {
    global $bgcolor1, $bgcolor2;
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable2() {
    echo "</td></tr></table></td></tr></table>\n";
}




function themeheader() {
$header= <<< HEADER


<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0" background="FFFFFF" >
<link rel="stylesheet" type="text/css" href="themes/60sn_com/images/reklam/dddropdownpanel.css" />

<script type="text/javascript" src="themes/60sn_com/images/reklam/reklam.js">
</script>

<div id="mypanel" class="ddpanel">
<div id="mypanelcontent" class="ddpanelcontent">

<p align="center">
&nbsp;<p align="center">
<a href="iletisim.html">
<img border="0" src="themes/60sn_com/images/reklam/images/banner_468x60_reklam.gif" width="468" height="60"></a><p align="center"></div>
<div id="mypaneltab" class="ddpaneltab">
<a href="#"><span>Reklam Alanı</span></a>
</div>

</div>
  <tr>
       
    <td width="100%" align="center">
      <table border="0" width="970" cellspacing="0" cellpadding="0">
        <tr>
         <td bgcolor="#FFFFFF" align="center">

					<table width="100%" cellspacing="0" cellpadding="0" border="0">

			<tr> 

</td>
</tr>
</table>


<table border="0" width="100%" cellspacing="0" cellpadding="0" >
  <tr>
    <td width="100%" align="center">
    <table border="0" cellpadding="0" cellspacing="0"  width="100%">
      <tr>
        <td width="100%" class="maviheader">
       <table border="0" width="100%" id="table1" cellpadding="0" cellspacing="0">
		<tr>
			<td width="20%">&nbsp;</td>
			<td width="60%" valign="top">
			
			<table border="0" width="100%" id="table2" cellpadding="0" cellspacing="0">
				<tr>
					<td><p align="center"><a href="modules.php?name=Feedback" target="_self"><font size="1" color="#A10000">Bize Ulaşın</font></a><font size="1" color="#A10000">&nbsp;|&nbsp;</font><a href="modules.php?name=Advertising" target="_self"><font size="1" color="#A10000">Reklam Verin</font></a><font size="1" color="#A10000">&nbsp;|&nbsp; </font><a href="modules.php?name=Ekip_Galerisi" target="_self"><font size="1" color="#A10000">Kadromuz</font></a><font size="1" color="#A10000">&nbsp;|&nbsp; </font><a href="modules.php?name=Recommend_Us" target="_self"><font size="1" color="#A10000">Tavsiye Edin</font>&nbsp;|&nbsp;<a href="modules.php?name=Forums&file=site_map" target="_self"></a><font size="1" color="#A10000">Site Haritası</font></a>
       </td>
				</tr>
				<tr>

					<td align="center">
					<!-- Site search from MSN -->
<form method="get" action="http://search.msn.com.tr/results.aspx">  
<input type="hidden" name="cp" value="CODE PAGE USED BY YOUR HTML PAGE"/> 
<input type="hidden" name="FORM" value="FREESS"/>
<table >
<tr>
<td>
<a href="http://search.msn.com.tr/">
<img src="http://search.msn.com.tr/s/affillogo.gif" border="0" ALT="MSN Search"/>
</a>
</td>
<td>

<input type="text" name="q" size="30" />
<input type="submit" value="Sitede Ara"/> 
<input type="hidden" name="q1" value="site:http://localhost"/>
</td>
</tr>
</table>
</form>
<!-- Site Search from MSN -->
					</td>
				</tr>
				<tr>
					<td></td>
				</tr>
			</table>
			
			</td>
			<td width="20%" valign="top">
<a href=javascript:stilsec("mavi")><img src="themes/60sn_com/renk/color1.gif" border="0"></a>&nbsp;
<a href=javascript:stilsec("yesil")><img src="themes/60sn_com/renk/color2.gif" border="0"></a>&nbsp;
<a href=javascript:stilsec("mor")><img src="themes/60sn_com/renk/color5.gif" border="0"></a>&nbsp;
<a href=javascript:stilsec("petrol")><img src="themes/60sn_com/renk/color3.gif" border="0"></a>&nbsp;
<a href=javascript:stilsec("turuncu")><img src="themes/60sn_com/renk/color4.gif" border="0"></a>&nbsp;

			</td>
		</tr>
		</table>
</td>
      </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%">
      <div align="center">
        <center>
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td width="0" valign="top">
HEADER;
    echo $header;
echo"</td><td width=160 valign=top>";
$blok="sol";
blocks(left);
echo"</td><td valign=top width=100%>";
}

function themefooter() {
       global $sitename, $copyright, $foot1, $foot2, $foot3;
    if (($index == 1) or (defined('INDEX_FILE'))) {

echo"</td><td witdh=160 valign=top>";
$blok="sag";
blocks(right);
}
$footer_message = "$foot1<br>$foot2<br>$foot3<br>$foot4";
$footer= <<< FOOTER
</td>
          </tr>
        </table>
        </center>
      </div>
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="maviheader">
            <p align="center"><a href="modules.php?name=Feedback" target="_self"><font size="1" color="#A10000">Bize Ulaşın</font></a><font size="1" color="#A10000">&nbsp;|&nbsp;</font><a href="modules.php?name=Advertising" target="_self"><font size="1" color="#A10000">Reklam Verin</font></a><font size="1" color="#A10000">&nbsp;|&nbsp; </font><a href="modules.php?name=Ekip_Galerisi" target="_self"><font size="1" color="#A10000">Kadromuz</font></a><font size="1" color="#A10000">&nbsp;|&nbsp; </font><a href="modules.php?name=Recommend_Us" target="_self"><font size="1" color="#A10000">Tavsiye Edin</font></a>&nbsp;|&nbsp;<a href="modules.php?name=Forums&file=site_map" target="_self"><font size="1" color="#A10000">Site Haritası</font></a><br><br>Web sitemiz<a href="http://www.phpnuke.org" target="_blank"> PHP-Nuke</a> (&copy 2005) kodlarına sahiptir.Tema Dizayn &nbsp; <a href="http://pehaspe.com">Pehaspe.com</a></center><p align="center">Bu Paket &nbsp;<a href="http://www.60sn.com">60sn</a>&nbsp;Ve&nbsp;<a href="http://www.netopsiyon.com">Netopsiyon</a>&nbsp;Tarafından Geliştirilmiştir</center></td>
</td>
        </tr>
        </table>
    </td>
  </tr>
  <tr>
    <td width="100%">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="100%">
            <div align="center">
              <center>
              <table border="0" width="100%" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="100%" bgcolor="#FFFFFF">
                    &nbsp;</td>
                </tr>
              </table>
              </center>
            </div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

          </td>
          <td width="10" >&nbsp;</td></tr></table></td></tr></table>
FOOTER;

echo $footer;
}



function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $haberresim, $topictext) {
    global $anonymous, $haberresim;
    if ($notes != "") {
        $notes = "<br><br><b>"._NOTE."</b> $notes\n";
    } else {
        $notes = "";
    }
    if ("$aid" == "$informant") {
        $content = "$thetext$notes\n";
    } else {
        if($informant != "") {
            $content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
        } else {
            $content = "$anonymous ";
        }
        $content .= ""._WRITES." \"$thetext\"$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
echo"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">
  <tr>
    <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
        <tr>
          <td bgcolor=\"#CCCCCC\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
              <tr>
                <td bgcolor=\"#F9F9F9\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
                    <tr>
                      <td height=\"27\" background=\"themes/60sn_com/images/header_bg3.gif\" bgcolor=\"#f5f5f5\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">
                          <tr>
                            <td><font class=\"block-title2\"><b>$title</b></font></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td bgcolor=\"#F9F9F9\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
                          <tr>
                            <td><font class=\"storycontent\">$content</font></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td background=\"themes/60sn_com/images/menu_nav.gif\" bgcolor=\"#F4F4F4\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
                          <tr>
                            <td><div align=\"center\"><font class=\"content\">$posted</font>
                            <br><font class=\"content\">$morelink</font></div></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>";
}

/************************************************************/
/* Function themearticle()                                  */
/************************************************************/

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $haberresim, $topictext) {
    global $admin,$admin_file,$sid, $haberresim;
    $posted = ""._POSTEDON." $datetime "._BY." ";
    $posted .= get_author($aid);
    if ($notes != "") {
        $notes = "<br><b>"._NOTE."</b> $notes\n";
    } else {
        $notes = "";
    }
    if ("$aid" == "$informant") {
        $content = "$thetext$notes\n";
    } else {
        if($informant != "") {
            $content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
        } else {
            $content = "$anonymous ";
        }
        $content .= ""._WRITES." \"$thetext\"$notes\n";
    }
echo"<table width=100% border=0 cellspacing=0 cellpadding=4>
  <tr>
    <td><table width=100% border=0 cellspacing=0 cellpadding=1>
        <tr>
          <td bgcolor=#CCCCCC><table width=100% border=0 cellspacing=0 cellpadding=0>
              <tr>
                <td bgcolor=#F9F9F9><table width=100% border=0 cellspacing=0 cellpadding=0>
                    <tr>
                      <td height=27 background=themes/60sn_com/images/header_bg3.gif bgcolor=#EEEEEE><table width=100% border=0 cellspacing=0 cellpadding=3>
                          <tr>
                            <td><font class=block-title><b>$title</b></font></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td bgcolor=#F9F9F9><table width=100% border=0 cellspacing=0 cellpadding=3>
                          <tr>
                            <td><font class=storycontent>$content</font></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td background=themes/60sn_com/images/menu_nav.gif bgcolor=#F4F4F4><table width=100% border=0 cellspacing=0 cellpadding=3>
                          <tr>
                            <td><div align=center><font class=content>$posted</font></div></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>";
}

/************************************************************/
/* Function themesidebox()                                  */
/************************************************************/

function themesidebox($title, $content) {

echo   "<table width=170 border=0 cellspacing=0 cellpadding=3>
  <tr>
    <td><table width=170 border=0 cellspacing=0 cellpadding=0>
  <tr>
    <td bgcolor=#FFFFFF><table width=100% border=0 cellspacing=0 cellpadding=0>
        <tr>
          <td class=bordermavi><table width=100% border=0 cellspacing=1 cellpadding=0>
              <tr>
                <td height=18 class=maviblok><table width=100% border=0 cellspacing=0 cellpadding=2>
                    <tr>
                      <td><font color=#A10000><strong>$title</strong></font></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td  bgcolor=#FFFFFF><table width=100% border=0 cellspacing=0 cellpadding=3>
                    <tr>
                      <td><font class=content>$content</font></td>
                    </tr>
                  </table></td>
              </tr>
              </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</td>
  </tr>
</table>";

}

?>